var _a, _b;
//author:dhclly
var o = console.log;
var input = [1, 2];
var first = input[0], second = input[1];
o(first); // outputs 1
o(second); // outputs 2
// swap variables
_a = [second, first], first = _a[0], second = _a[1];
o(first); // outputs 2
o(second); // outputs 1
var obj = {
    a: "foo",
    b: 12,
    c: "bar"
};
var a = obj.a, b = obj.b;
(_b = { arg1: "baz", arg2: 101 }, arg1 = _b.arg1, arg2 = _b.arg2);
